package com.spvs.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.spvs.common.core.annotation.Excel;
import com.spvs.common.core.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 采购计划单对象 purchase_order
 *
 * @author supervision
 * @date 2024-06-19
 */
@Data
public class Point extends BaseEntity
{
    double lat;
    double lng;

    public Point(double lat, double lng) {
        this.lat = lat;
        this.lng = lng;
    }

    @Override
    public String toString() {
        return String.format("{\"lat\":%.6f,\"lng\":%.6f}", lat, lng);
    }
}
